﻿using System;
using System.Collections.Generic;

namespace QG.FrontDesk.Model
{
    public class MenuInfo
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public MenuInfo()
        {
            this.Power_MenuInfo = new HashSet<Power_MenuInfo>();
        }
        [System.ComponentModel.DataAnnotations.Key]
        public int MenuId { get; set; }
        public string MenuName { get; set; }
        public Nullable<bool> Status { get; set; }
        public int ParentId { get; set; }
        public string Url { get; set; }
        public string Ico { get; set; }
        public System.DateTime CreateTime { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Power_MenuInfo> Power_MenuInfo { get; set; }

    }
}
